package be.myandroid.games.menu;

import javax.microedition.khronos.opengles.GL10;

import android.graphics.Paint;
import android.graphics.drawable.Drawable;
import be.myandroid.games.StateManager;
import be.myandroid.games.spritetext.LabelMaker;
import be.myandroid.games.spritetext.Projector;


public abstract class AbstractMenu {

	public callBack parent;
	public StateManager state = StateManager.getInstance();
	
	public interface callBack{
		public void notifyChange();
	}
	
	public abstract void initialize(GL10 gl, Drawable background, LabelMaker parent, Paint paint);
	
	protected abstract void layoutItems(float mWidth, float mHeight);

	public abstract void draw(GL10 gl, LabelMaker mLabels, Projector mProjector);
}
